package com.rds.workflow.service.impl;

import com.rds.workflow.domain.RdaWorkflowObjectRel;
import com.rds.workflow.mapper.RdaWorkflowObjectRelMapper;
import com.rds.workflow.service.RdaWorkflowObjectRelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class RdaWorkflowObjectRelServiceImpl implements RdaWorkflowObjectRelService {
    @Autowired
    private RdaWorkflowObjectRelMapper rdaWorkflowObjectRelMapper;

    @Override
    public RdaWorkflowObjectRel selectRdaWorkflowObjectRelById(Long id) {
        return rdaWorkflowObjectRelMapper.selectRdaWorkflowObjectRelById(id);
    }

    @Override
    public List<RdaWorkflowObjectRel> selectRdaWorkflowObjectRelList(RdaWorkflowObjectRel rdaWorkflowObjectRel) {
        return rdaWorkflowObjectRelMapper.selectRdaWorkflowObjectRelList(rdaWorkflowObjectRel);
    }

    @Override
    public int insertRdaWorkflowObjectRel(RdaWorkflowObjectRel rdaWorkflowObjectRel) {
        return rdaWorkflowObjectRelMapper.insertRdaWorkflowObjectRel(rdaWorkflowObjectRel);
    }

    @Override
    public int updateRdaWorkflowObjectRel(RdaWorkflowObjectRel rdaWorkflowObjectRel) {
        return rdaWorkflowObjectRelMapper.updateRdaWorkflowObjectRel(rdaWorkflowObjectRel);
    }

    @Override
    public int deleteRdaWorkflowObjectRel(Long[] ids) {
        return rdaWorkflowObjectRelMapper.deleteRdaWorkflowObjectRel(ids);
    }

    @Override
    public int deleteRdaWorkflowObjectRelWorkflowid(Long ids) {
        return rdaWorkflowObjectRelMapper.deleteRdaWorkflowObjectRelWorkflowid(ids);
    }
}
